package com.genntii.examManager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.genntii.examManager.common.result.PageResult;
import com.genntii.examManager.domain.dto.ExamAddDTO;
import com.genntii.examManager.domain.entity.Practice;
import com.genntii.examManager.domain.question.vo.ExamDetailVO;
import com.genntii.examManager.domain.vo.PracticeVO;

import java.util.ArrayList;

public interface PracticeService extends IService<Practice> {

    ExamDetailVO getPractice(Long practiceId);

    PageResult<PracticeVO> getPracticeList(Integer pageNum, Integer pageSize, Long userId,Long courseId);

    void addExam(ExamAddDTO examAddDTO, ArrayList<Long> mongoId, Long userId);

    void setStatus(Byte status, Long practiceId);
}
